package com.naiterui.ehp.bs.emr.service;

import com.naiterui.common.repository.page.PageVO;
import com.naiterui.ehp.bp.bo.smh.SmhUserBO;
import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.emr.vo.openapi.his.AnalyzeRecordVO;
import com.naiterui.ehp.bs.emr.vo.openapi.his.CaseRecordVO;
import com.naiterui.ehp.bs.emr.vo.openapi.his.ExamineRecordVO;
import com.naiterui.ehp.bs.emr.vo.openapi.his.MedicalRecordVO;
import com.naiterui.ehp.bs.emr.vo.openapi.his.PrescriptionRecordVO;

import java.util.List;

/**
 * his
 *
 * @author guoyongxiang
 * @version 1.0.0
 * @date 2021/8/12 18:14
 **/
public interface IHisService {

    /**
     * 获取线下复诊信息
     * 
     * @param patientId
     * @param inquirerId
     * @return
     */
    SmhUserBO getPatientList(Long patientId, Long inquirerId) throws BusinessException;

    /**
     * 获取患者线下就诊记录
     * @param idCard 身份证号
     * @param name 姓名
     * @return
     */
    List<MedicalRecordVO> findMedicalRecord(String idCard, String name) throws BusinessException;

    /**
     * 获取线下病历记录
     * @param mzh 门诊号
     * @return
     */
    CaseRecordVO getCaseRecord(String mzh) throws BusinessException;

    /**
     * 获取线下处方记录
     * @param mzh
     * @return
     */
    List<PrescriptionRecordVO> findPrescriptionRecord(String mzh) throws BusinessException;

    /**
     * 获取线下化验记录
     * @param mzh
     * @return
     */
    List<AnalyzeRecordVO> findAnalyzeRecord(String mzh) throws BusinessException;

    /**
     * 获取线下检查记录
     * @param mzh
     * @return
     */
    ExamineRecordVO findExamineRecord(String mzh) throws BusinessException;
}
